<?php /* Smarty version 2.6.16, created on 2009-04-15 05:00:17
         compiled from Friends.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'language', 'Friends.html', 7, false),array('function', 'url', 'Friends.html', 23, false),array('function', 'module', 'Friends.html', 24, false),)), $this); ?>
        <table style="width: 100%;" cellpadding="4" cellspacing="0">
        <tr>
            <td class="border2">
                <table style="width: 100%;" class="mainmenu5" cellpadding="0" cellspacing="0" border="0">
                <tr>
                    <td width="7"><img src="design/pic/spacer.gif" class="sqr1" alt="" height="7" width="7" /></td>
                    <td class="block_header"><?php echo smarty_function_language(array('text' => 'Mod_Account.my_friends'), $this);?>
</td>
                </tr>
                </table>

<?php if (count ( $this->_tpl_vars['aFriends'] )): ?>
                <div style="font-size:9pt;" class="color">
<?php echo smarty_function_language(array('text' => 'Mod_Account.total_friends','replace1' => $this->_tpl_vars['aCurrUser']['user'],'replace2' => $this->_tpl_vars['iNumFriends']), $this);?>


<br /><br />

<div style="text-align:center;">

<table style="width:100%;margin-left:auto;margin-right:auto;" cellpadding="4" cellspacing="4">
    <tr>
<?php $_from = $this->_tpl_vars['aFriends']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['friends'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['friends']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['aFriend']):
        $this->_foreach['friends']['iteration']++;
?>
        <td style="width:25%;text-align:center;">
           <a href="<?php echo smarty_function_url(array('link' => 'public.user','name' => $this->_tpl_vars['aFriend']['user']), $this);?>
">
               <?php echo smarty_function_module(array('module' => 'Account','component' => 'Avatar','sUser' => $this->_tpl_vars['aFriend']['user'],'iSize' => 75,'class' => 'pic1','onmouseover' => "showInfo5('".($this->_tpl_vars['aFriend']['user'])."', '', '');this.className='pic2';",'onmouseout' => "this.className='pic1';return nd();"), $this);?>

           </a>
        </td>
<?php if ($this->_foreach['friends']['iteration'] % $this->_tpl_vars['iRowSize'] == 0): ?>
    </tr>
    <tr>
<?php endif;  endforeach; endif; unset($_from); ?>
    </tr>
</table>

</div>

  			<div style="padding:8px;text-align:right;">
                        <a class="link_action" href="<?php echo smarty_function_url(array('link' => 'public.user.friends','name' => $this->_tpl_vars['aUser']['user']), $this);?>
">[ <?php echo smarty_function_language(array('text' => 'view_all_my_friends'), $this);?>
 ]</a>
                    </div>
                </div>
<?php else: ?>
<div style="padding:8px;font-size:9pt;text-align:center;">
<?php echo smarty_function_language(array('text' => "Mod_Account.no.friends"), $this);?>

</div>
<?php endif; ?>

             </td>
        </tr>
        </table>
        <br />